﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace automobili_data
{
    public class QueryParam
    {
        DbType paramType;

        public DbType ParamType
        {
            get { return paramType; }
            set { paramType = value; }
        }
        String paramName;

        public String ParamName
        {
            get { return paramName; }
            set { paramName = value; }
        }
        object value;

        public object Value
        {
            get { return this.value; }
            set { this.value = value; }
        }

        public QueryParam(String name, DbType type, object val)
        {
            paramName = name;
            paramType = type;
            value = val;
        }
    }
}
